package com.sport.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "角色实体")
public class SysRole {

    private  Long id;
    @ApiModelProperty(value = "权限标签")
    private String label;
    @ApiModelProperty(value = "权限标签值")
    private String code;
    @ApiModelProperty(value = "禁用状态")
    private boolean status;
    @ApiModelProperty(value = "菜单列表")
    private List<SysMenu> menus;
    @ApiModelProperty(value = "角色列表")
    private List<SysPermission> permissions;


}
